A model interpreting variations of EUV brightness upward propagating in solar coronal loops as slow magnetoacoustic waves is developed. A loop is considered to have a non-zero plane inclination angle and offset of circular loop centre from the baseline. The model also incorporates effects of dissipation and gravitational stratification. A linear evolutionary equation is derived and applied to investigation of slow wave dynamics. Both the non-zero plane inclination and the offset decrease the growth of the wave amplitude due to stratification. It is shown that wide spectrum slow magnetoacoustic waves, consistent with currently available observations in the low frequency part of the spectrum, can provide the rate of heat deposition sufficient to heat the loop. In this scenario, the heat would be deposited near the loop footpoints which agrees with the current observational data.